<ul id="<?php echo $this->id;?>">
<?php	foreach ($dataProvider as $data): ?>
	<li style="text-align:center; _width:166px; _float:left; _list-style:none;">
        <?php       	
            echo CHtml::link(CHtml::image(File::model()->generateFilePath(File::model()->findByPk($data->media_pic_id),0),$data->media_name),array('work/view','id'=>$data->media_id));
        ?>	
        <hr />
        <div class="des">
    		<?php echo CHtml::link($data->media_name, array('work/view','id'=>$data->media_cid));?>
        </div>
        <hr class="space" />
	</li>

<?php endforeach;?>
</ul>